<!DOCTYPE HTML>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="{$data->keywords}">
    <meta name="description" content="{$data->summary}">
    <link rel="stylesheet" type="text/css" href="/static/index/css/style.css">
    <title>{$data->title}</title>
</head>

<body>
    <div class="wrap">
        <div class="content" style="padding-bottom:40px;">
            <div class="txt-center margin-top-18">
                <div class="bannerbox"><img src="/static/index/images/logo_banner.png"></div>
            </div>
            <div class="contenCon">
                <div class="listCon">
                    <div class="part">
                        <h2>{$category_info.name}</h2>
                    </div>
                </div>
                <div class="content-wapper">
                    <div class="content-title">
                        <h2>{$data->title}</h2>
                    </div>
                    <div class="content-text">
                        {$data->content|raw}
                    </div>
                    <div class="content-tag">
                        <p style="color: dodgerblue;">免责声明：本网站所转载的文字、图片与视频资料版权归原创作者所有，如果涉及侵权，请第一时间联系本网删除。</p>
                        <span>标签: {$data->keywords}</span>
                        <span>作者: {$data->writer} 来源: {$data->source}</span>
                        <span>{$data->create_time|date="Y-m-d H:i:s"}</span>
                    </div>
                </div>
            </div>
            
            <div class="contenCon">
                <div class="listCon">
                    <div class="part">
                        <h2>最近更新</h2>
                        {tp:listbycid cid="0" name="value" limit="3" order="id DESC"}
                        <div class="grid">
                            <div class="preview">
                                <a href="/{$value.create_time|date='Y-m-d'}/{$value.id}.html"
                                    title="{$value.title}" target="_blank"><img src="{$value.title_pic}"
                                        alt="{$value.title}"></a>
                            </div>
                            <div class="data">
                                <h3><a href="/{$value.create_time|date='Y-m-d'}/{$value.id}.html"
                                        target="_blank">
                                        {$value.title}
                                    </a></h3>
                                <p class="category">
                                    {$value.summary|mb_substr=0,100}
                                </p>
                            </div>
                        </div>
                        {/tp:listbycid}
                        <div class="clearFloat"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="sidebar">
            <header>
                <div class="logo">
                    <a href="/index" title=""> </a>
                </div>
                <div class="clearFloat"> </div>
            </header>
            <div class="widget" style="margin-left: 10px;">
                <div class="latestN">
                    <a href="javascript:void(0);"><span class="float-lt">联系我们</span>
                        <em class="float-rt">&gt;&gt;</em></a>
                </div>
                <div class="linksR">
                    <ul>
                        <li>电话：010-62316606</li>
                        <li>邮箱：fsfhzy666@163.com</li>
                        <li>腐蚀与防护网官方QQ群：140808414</li>
                        <li>地址：北京市海淀区学院路30号</li>
                        <li>邮编：100083</li>
                    </ul>
                </div>
            </div>
            <div class="clearFloat"></div>
            <div class="widget" style="margin-left: 10px;">
                <div class="latestN">
                    <a href="javascript:void(0);"><span class="float-lt">文章栏目列表</span>
                        <em class="float-rt">&gt;&gt;</em></a>
                </div>
                <div class="links">
                    {tp:cate name="cvalue"}
                    <div class="links_t">
                        <a href="{if $cvalue.type==1}{$cvalue.url}{else/}/article/list.html?cid={$cvalue.id}{/if}"><h3>{$cvalue.name}</h3> </a>    
                        {notempty name="cvalue.child"}
                        <ul>
                            {foreach $cvalue.child as $val}
                            <li>
                                <a href="{if $val.type==1}{$val.url}{else/}/article/list.html?cid={$val.id}{/if}">{$val.name}</a>
                            </li>
                            {/foreach}
                        </ul>
                        {/notempty}
                    </div>
                    {/tp:cate}
                </div>
            </div>
            <div class="clearFloat"></div>
            <div class="widget" style="margin-left: 10px;">
                <div class="latestN">
                    <a href="javascript:void(0);"><span class="float-lt">点击排行</span>
                        <em class="float-rt">&gt;&gt;</em></a>
                </div>
                <div class="links a-li">
                    <ul>
                        {tp:listbycid cid="0" name="value" limit="10" order="clicks DESC, id DESC"}
                        <li>
                            <a href="/{$value.create_time|date='Y-m-d'}/{$value.id}.html" title="{$value.title}">{$value.title}</a>
                        </li>
                        {/tp:listbycid}
                    </ul>
                </div>
        </div>
    </div>
    <div class="clearFloat"></div>
</body>

</html>